package com.ssyan;

/**
 * @author ssyan
 * @Description 测试类的加载中链接阶段的准备过程
 *              即类的初始化
 * @create 2021/8/15 22:37
 * @Version 1.0
 */
public class HelloApp {
    private static int a = 1;//prepare: a = 0 --> initial: a = 1
    //public static long b;

//    static {
//        b = 2;
//    }

    public static void main(String[] args) {
        System.out.println(a);
        //System.out.println(b);
    }
}
